package com.jbjr.tianchi.Parments;

/**
 * @Author：zgh
 * @DATE: 2018/7/31 16:23
 * @version: 0.0.1
 * @Description:
 */
public class Condition {
    public static final String OR = "OR";
    public static final String AND = "AND";


    public String key;//匹配的字段
    public Object value;//内容
    public String operator;//OR/AND
    public Integer fuzziness;//在匹配查询上启用模糊匹配
    public Integer prefixLength;//在匹配查询上设置前缀长度选项
    public Integer maxExpansions;//设置最大扩展选项以控制查询的模糊过程

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }


    public Integer getFuzziness() {
        return fuzziness;
    }

    public void setFuzziness(Integer fuzziness) {
        this.fuzziness = fuzziness;
    }

    public Integer getPrefixLength() {
        return prefixLength;
    }

    public void setPrefixLength(Integer prefixLength) {
        this.prefixLength = prefixLength;
    }

    public Integer getMaxExpansions() {
        return maxExpansions;
    }

    public void setMaxExpansions(Integer maxExpansions) {
        this.maxExpansions = maxExpansions;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }
}
